library(neuroim)
library(foreach)
library(FNN)


## need a test bed

### one single subject dataset with mask and labels.
### one two subject dataset
### one 10 subject dataset.

## use marie, group averaged singe-trial betas

dset <- readRDS("/Users/brad/code/neuropls")